/*************************************************************************
 * File Name   : drv_spi.h
 * Brief       :
 * Change Logs :
 * Date           Author       Notes
 * 2022\03\02     liqi         The first version.
*************************************************************************/

#ifndef _DRV_SPI_H
#define _DRV_SPI_H
#ifdef __cplusplus
extern "C" {
#endif

rt_err_t rt_hw_spi_device_attach(const char *bus_name, const char *device_name, GPIO_Module *cs_gpiox, uint16_t cs_gpio_pin);

#ifdef __cplusplus
}
#endif
#endif


